package org.grottarossa.ui.core.controls.skiptask;


import java.util.ResourceBundle;

import org.grottarossa.ui.core.ApplicationSession;
import org.grottarossa.ui.core.base.BaseFormFieldFactory;

import com.vaadin.data.Item;
import com.vaadin.data.util.BeanItem;
import com.vaadin.terminal.Sizeable;
import com.vaadin.ui.Component;
import com.vaadin.ui.Field;
import com.vaadin.ui.Label;
import com.vaadin.ui.TextField;

/***
 * Factory dei campi della maschera di skip task
 * @author 
 *
 */
public class SkipTaskFieldFactory extends BaseFormFieldFactory
{
	public SkipTaskFieldFactory(ApplicationSession apppConfig, ResourceBundle localizer)
	{
		super(apppConfig, localizer);

		TextField taskName = new TextField();
		taskName.setReadOnly(true);
		m_fields.put("taskname", taskName);

		TextField comment = new TextField();
		comment.setSizeFull();
		m_fields.put("comment", comment);
	}
}
